using System;

namespace stefc.geo.lib
{
    public class RequestWithResponsePin<TRequest, TResponse>
    {
        public RequestWithResponsePin(TRequest data, Action<TResponse> responsePin)
        {
            Data = data;
            ResponsePin = responsePin;
        }

        public TRequest Data { get; private set; }
        public Action<TResponse> ResponsePin { get; private set; }
    }
}